Fix http directory item detection for items with querystring

this pr will fix HTTPDirectory to support http directory items with querystring in their links, e.g. items in googlecode's git non-master branch.