Regex for matching a URL was incorrect.

Http prefix was hardcoded in Stash api calls. It will now work with http or https.