Fix invalid symbols left by the PMIx merge.
Update the script to handle git as well as svn repos