rhbz912583 avoid NullPointerException for null project types