return 400 instead of 404 in case of missing push ref