Do not assume that every server has the private_key_file attribute.

AWS servers don't have it.
Merge pull request #36 from lstoll/fix_shell_execution_for_ec2

Fix core extensions for AWS servers.