ENH: handle missing metadata in parse_rawspec.