added error handling on private key stat in case it is saved in agent but not in filesystem
added error handling on private key stat in case it is saved in agent
but not in filesystem

thaim/ansible,thaim/ansible