private static Map<String, String> fetchArgsFromBuildConfiguration(String argString, Map<String, String> args) {
        Map<String, String> argFromBuildConfig = new HashMap<>();
        if (args != null) {
            argFromBuildConfig.put(argString, args.getOrDefault(argString, ""));
        }
        return argFromBuildConfig;
    }
Helper method for extractArgs(exposed for test)

@param argLines list of string arrays containing lines with words
@return map of parsed arguments
src/main/java/io/fabric8/maven/docker/util/DockerFileUtil.java