Apply referrer on DBOptions only if referrer is not an empty string
Merge pull request #504 from aurelien35/BugFix_EmptyReferrer

Apply referrer on DBOptions only if referrer is not an empty string