more robust in case of missing command (avoid NPE)
TODO fix failing ServerIntegrationTest