check for nullity in mesh ref map for allowPartial

it might be preferable to fix the file ref cache to have more
useful output, but this should fix things for now.