Fix MySQL master job cache

cc: @UtahDave and @pass-by-value