Make sure assignment does not leave host with wrong state when not saved

fixing https://github.com/theforeman/staypuft/pull/87
cc @ares