Give better error message if keyfile is missing