Fixed persistpath usage in entry exit of persist SSH