CODE: Fix exception hanglind (commitRes) in build.py