Handle default session path nicely
Merge pull request #1375 from GPCsolutions/3.4-fixsessionpath

Handle default session path nicely