Fix feature prune since stable/dev branches were unhardcoded.

The stable and dev branches now need to be passed in since they are no
longer hardcoded.