GROOVY-7203: don't force lookup object access and fall back to per invocation error instead