public static String stripLeadingPeriod(String path) {
        if (path.startsWith(DOT)) {
            return path.substring(1);
        }

        return path;
    }
Strips "." off of the {@code path}, if present.

@param path the path which may begin with a "."
@return the path stripped of a "."
src/test/java/io/fabric8/maven/docker/util/PathTestUtil.java