public String getSimpleName() {
        String prefix = user + "/";
        return repository.startsWith(prefix) ? repository.substring(prefix.length()) : repository;
    }
Get the simple name of the image, which is the repository sans the user parts.

@return simple name of the image
src/main/java/io/fabric8/maven/docker/util/ImageName.java