Do not fail out if the added/created sr is in group already

Just filter it out on first detection and reduce the list of
added/created packages, fail out only in case we have no SRs left
in the end.
Reduce code duplication in last commit.
Merge pull request #22 from scarabeusiv/master

Make add work with something that is already in