fix: data missing in metadata

Fix #openphil in the case no date is provided in the metadata of the
image