Fixed Upgrading when subsite URL contains underscore and hyphens.
Merge pull request #4 from dhruvj/ISSUE-5231

ISSUE-5231: Fixed Upgrading when subsite URL contains underscore and hyphens.