Fix issue when multiple paths are mapped to one dir in the show command