Fixes NPE when branchTagPath is set to tag

Closes https://bugs.eclipse.org/bugs/show_bug.cgi?id=410558
Use (newer) repo.getTags() call that returns lightweight tags too

Closes https://bugs.eclipse.org/bugs/show_bug.cgi?id=410581
Using Kepler RC4
Merge branch 'bug-410581'
Fixes required due to ECF switch to apache.httpcomponents