Tidying syntax in AGDDToolBase, so that python2 and python3 behaviour match
FYI @nkoehler - while debugging some jobs which fail in the master python3 nightly, but succeed with python2. I noticed that tools deriving from AGDDToolBase
have different configurations in the two nightlies. Fixing this didn't fix our crash, but it might still be useful.