Added a docstring for (extract-project-name).
Added docstrings and comments.
Added some debugging output for the RPM builds.