SONARJAVA-485 Prevent creation of findbugs directory

Fix bad null pointer exception.