Update synchrotron.rb

- Update based on review feedback from @yaypie
- slight tweak to the git branch grabbing regexp