Build log url manually if Location header can't be fetched