Abort if no candidate revisions

Added checkbox to abort build if no candidate revisions found.
Implemented abort if no revisions found