[AS7-6334] Nicer error message if attempt to use deployment-scanner in d...

...omain mode