hierarchy: add workaround that lang=None

if in a FILENAME_METADATA there is a regex group to extract the lang.