Fix an NPE when trying to resolve a non-existent synthetic accessor