Revert "Merge pull request #1292 from cmfcmf/scanner-follow-links"

This reverts commit f1249b26fee03ab17c054b368c481d735112d2ab, reversing
changes made to d3c0fd6e3f33edf45498d292f47802349f02d247.