Fixes NPE on files from the project but outside the configured build path