Removed possible buggy code which likely removes patch and upgrade jobs