update for avoiding loops on 404s

Signed-off-by: Anselm Hannemann <info@anselm-hannemann.com>