Fixed broken auto-detected deployment revision value (whether or not it should be auto-detected at all remains a good question).