Identity manager: fix assertion when no identities present
Merge branch 'master' of http://www.project-moonshot.org/git/moonshot-ui