Tweaks to recently added slots for repo-based profiles:
1. We do not need to save the param definitions; we have the script. 2. We do want to save the refspec in the history, even though we have the hash. Easier to see what is going on.