Create $datadir only if there are no variables
Merge pull request #1 from CERIT-SC/master

Create $datadir only if there are no variables