This mimics what we do for device units: if there's a device we cannot synthesize a good swap unit name for, then proceed without failure. (cherry picked from commit e82c6e8b) (cherry picked from commit 5fbb002c)
mentioned in commit 3e771f4b