feature-prune: fix some bugs

It probably never worked. The 'origin/' weren't being stripped off and
it wasn't correctly excluding stable and master.