fixed bug that occurred when doing checkout of a dir
cleanups
disable some non-applicable pylint warnings