support custom repo for SAM install
Merge pull request #490 from hhovsepy/master

support custom repo for SAM install