DSN: check for separating slash

Fixes #186