Only auto-detect deployment revision if the value is empty.