Fix python error when removing non-existent object named /