Some updates to stop execution occurring on everyrun

- update gem1.9.1 alternatives
- Add checks to avoid running alternatives constantly
- only clone the specific branch