Added check for local host.

Change template reference over to the Hortonworks repo and
added parameter for branch information.