code: func parseRepositoryTag(repos string) (string, string) {
  	n := strings.LastIndex(repos, ":")
  	if n < 0 {
  		return repos, ""
  	}
  	if tag := repos[n+1:]; !strings.Contains(tag, "/") {
  		return repos[:n], tag
  	}
  	return repos, ""
  }
docs: // Get a repos name and returns the right reposName + tag
  // The tag can be confusing because of a port in a repository name.
  //     Ex: localhost.localdomain:5000/samalba/hipache:latest