3977: Fix --source with http URIs

Moved the check for the existence of the monitor XML directory under
the if stanza for local filesystem for analyze_queues, analyze_frontends
Merge branch 'branch_v2plus_3977' into branch_v2plus