Fix incorrect 'this' context proxying

The _deploy() functions expected a different this which was being
bypassed by calling them directly in the 'deploy' command
implementation.
Default to production with 'deploy' command