fix bug in replaceteam.py that made it crash when credits URL was not accessible