Assign "user_defined" value properly for downloaded Gecko codes.

Fixes Issue 7156.
Merge pull request #252 from shuffle2/master

Assign "user_defined" value properly for downloaded Gecko codes.