frontend: null checks

added null checks to ConsoleModelsCache and
MainTabBasicDetailsPresenterWidget

Change-Id: I770e0ec23d59643f37b5f8be93a7565c47a3d006
Signed-off-by: Frantisek Kobzik <fkobzik@redhat.com>