Fix pep8 and pyflakes running against wrong directory