fix bug that prevented termination of compute nodes if an instance was not started with a key pair