download_manifest: replace index() by find()

Change-Id: Id85de3183eb6c6897fce9f3ddbe2e5093f62f920
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>