Fixed null pointer exception when no source files are found.