WL-2806 Fix for getting the POM path wrong.