When the option for which JDK to use for native m2 builds is set to "default"
and there is only one jdk configured in hudson the builds should use that jdk
not the jdk/jre of the container.
if there are more jdks' configured hudson should use the first one configured
at the system level for default.