Additional check for existing bags before creating and registering data ...

...paths. Fixes #28.