fixed exception when logging certain errors - ironic!
fix bug with vagrant ssh keys