allow switching from an invalid target

[finishes #44430547]
bump cfoundry