Refactored manifest generation to include excludes for the project
details, and to uniformly check to see if a file should be added to the
manifest.