Pack: check if the data file is present

objects/pack/ can have .idx files without associated .pack

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>