datastore: Avoid empty string if no namespace is set. Fixes #11.