Check the release directory first, and candidates only for flagging the build type
Merge branch 'issue#13' into gh-pages