hc-install: be more robust with "needs_download" flag check