Fix default basedir calculation