Conditionalize keychain command