[BZ-1050987] avoid NPE when it is not possible to locate a pom.propoerties file