strip r from revision version if there
Merge branch 'fetchbinaries' into feature/CAP-1222

* fetchbinaries:
  get binaries from specified branch
Merge pull request #24 from wonderslug/feature/CAP-1222

strip revision r