implement conf location set from env -- #2

see tests/unittests/misc/test_config.py
fix a formatting error
make plugin manager resilient against faulty plugins