Resolve existence of metadata groups and make sure nil is returned when querying one which does not exist