Fixed broken auto-detected deployment revision value (whether or not overriding the supplied revision value is a good question).