I think the code as it is now conveys the intention better than your shorthand:
if there is no unit, do something finally removing the unit.