Adding in the pem path when there is an error finding the pem file