Prevent NPE when screenshot's test is not found.

Refs #54