gitlab-ci: Don't rebuild kernels and rootfs if they have been already built in mainline