Minor code cleanup in patchupdate.py.