Fix test to expect unused, dirty packages to be untouched by restore