Detect redirect loops and print them out