Fixes to get rhc app create working for perl.

[merge]