check if private key upload is None