Fixed incorrect path when removing packages.