Tweak plugin so it can run in a non-PanDA environment.

Currently, functions with the HTCondor ASOServer integration test.

These are some follow-ups of the last pull request that later testing revealed.  Nothing that should affect PanDA functionality.