Changed _import_by_path to use path.remove() instead of path.pop() (#2922)
Changed _import_by_path to use path.remove() instead of path.pop() (#2922)

Fixes #2923
robotframework/robotframework,HelioGuilherme66/robotframework,HelioGuilherme66/robotframework,robotframework/robotframework,HelioGuilherme66/robotframework,robotframework/robotframework