Fixed pep8 and flake8 and pylint issues in dockit/dockutils/run_helper.py

- Cleaned the code as per pep8, flake8 guidelines