code: private static boolean isEmptyOrNull( GitLocation location ) {
      return location == null ||
          (StringUtils.isEmptyOrNull(location.getRepository()) &&
          StringUtils.isEmptyOrNull(location.getBranch()) &&
          StringUtils.isEmptyOrNull(location.getRevision()));
    }
docs: Returns true if a git location object is null or all of its values are
  empty or null.
  
  @param location the location object to test.
  @return true if the git location object is null or all of its values are empty or null, false otherwise.