handle: Fix memory leak when looking for local metalink/mirrorlist (Issue #33)