Session path check fix

Apparently this value is empty sometimes