Fix sed expression for getting masterURI

The plus symbol (+) is a GNU extension and doesn't work with OS X sed.