improve handling on AAA registry not found issue in Enhancer.checkPermission