refactor code
change repository to main threadfix

also, https://github.com/denimgroup/threadfix/issues/571 seems to
be fixed, so we are removing the workaround code