Fix test failure if run on system that is registered.