Fix to build_model.py to prevent jobs hanging due to being unable to open modelling-rejected.txt file