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 'master_3977'