resolve paths relative to basedir
3.6.2