pull_client: check command is available before running step

The command could have been stopped in the meantime.