Ignore errors only from looking up the element

Signed-off-by: Michal Čihař <michal@cihar.com>