NPE check

Added npe check in case the -Dorg.gradle.project.reports-format
parameter is not passed.