Removed redundant try/except in build script