core: when looping over mount/swap names, continue if we find one which...
core: when looping over mount/swap names, continue if we find one which doesn't translate to a valid unit name
(cherry picked from commit 598a6a84)
(cherry picked from commit f5643420)