fix missing basedir
Merge pull request #2 from stuartf/0.2.3-hilary

fix missing basedir