Fixes NPE when there aren't any source files within CodeUtils.getResourcePaths.