[backend] fix regression in handling unchanged builds