abdi_processrepoargs: refactor, fix indentation

Test Plan:
$ ./precommit.sh