do not raise error if PDF is not valid when searching for metadata