pub fn parse_mapdir(entry: &str) -> Result<MappedDirectory>
Parses a mapdir(legacy option) from a string.