identify missing dependencies and do not crash because of it

Signed-off-by: Mattias Andrée <maandree@operamail.com>