Fix nixpkgs-update to work based on branches