Pass marked revision to decorateRevisionToBuild()
[FIXED JENKINS-25191]

cherry-picked 80a396f
Merge pull request #262 from wannessels/fix-25191-master

Pass marked revision to decorateRevisionToBuild()