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>
Merge pull request #1448 from jzupka/fix_remove_sessions

virt: Fix bug in removing of remote_sessions.