Fixed issue with determining default base path.