Add signtestkey
Fix branch listing

Git branches are not always in .git/refs/heads/