Fix mixed case if inferring FQDN from gear information.
Merge pull request #1737 from rmillner/more_frontend_fixes_stage

[TO_STAGE] Fix mixed case if inferring FQDN from gear information.