Revert "Always refresh in getEnvironment() (to mitigate the cache issue)."

This reverts commit be87592c6c04aa9dc9a721fa90dd7dacf7da05fb.
Allow Drush and SSH to accept remote commands as arguments.