don't crash when removing a nonexistent package