Return NULL when no metadata is found