fix determination of Maya base path.