[#1823] Fix play.exceptions.CompilationException

[lighthouse #1823](play.lighthouseapp.com/projects/57987/tickets/1823)
I don´t know who that came into it. My original PR was
+ if (javaFile.exists() && javaFile.isDirectory()) {
+ return null; // we found a package
+ }