Two small fixes for the CMSSW discovery code.
Created by: bbockelm
- Use safer tempfile creation (and cleanup file after done).
- Allow the script to be run when $glidein_config isn't present (makes this easier to test).
Both are minor changes; mostly doing this to test out the deployment workflow prior to any 'real work'.