Fix crash when zero cards are in the display config (nested server). And deprecate the offending function because it's probably not useful to keep (or to write tests for). (LP: #1661163) . Fixes: https://bugs.launchpad.net/bugs/1661163.
Approved by mir-ci-bot, Alan Griffiths, Chris Halse Rogers, Kevin DuBois.