Overwrite the default dbpath with the config dbpath

This should fix the issue of mongod not always listening to our $DBDIR
variable, and therefore also fix jenkins which doesn't have /data dir
Merged pull request #374