Pass marked revision to decorateRevisionToBuild()

[FIXED JENKINS-25191]

cherry-picked 80a396f