Fix double name of stage on custom scripts.
[Delivers #70487524]
typo
add RAKE_TEST environment variable
move RAKE_TEST to separate initializer
Merge pull request #594 from code-dot-org/fix_stage_double_name

Fix double name of stage on custom scripts.