bugfix check-persistence when checking if partition is encrypted
Created PersistenceTerminal with fixed return code detection and fixed refresh_persistence_status