Cleanup parsed refs for git over HTTP

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>