Directly remove protocol from DB URL (#1335)

The pattern used before required GNU sed which is not installed by
default on OS X.
Merge pull request #1342 from rgieseke/db-protocol-sed

Directly remove protocol from DB URL (#1335)