set cwd to configBase if cwd wasn't provided explictly

Closes gh-16