functional: wait for machine to shut down
functional: ignore error from systemctl status

The error object does not matter for the test, and the behavior
of systemd seems to have changed recently. Just ignore it.
functional: fix logic in test