Fix Mercurial input fetching if a cached input has been GC'ed

Fixes Hydra/76.

Created by  Eelco Dolstra  on April 30, 2012
YRKCK7UBGGIQHWGG2CXCPGSRRWNVWB32W3AIW3WS7WXRKBHY2IAQC
Change contents