Fix crash when there's no keystone instance defined