virt: Fix bug in removing of remote_sessions.

It is not possible remove items from list which is
iterated in one cycle.

Signed-off-by: Jiří Župka <jzupka@redhat.com>