add trailing slash to connection string if missing