Added protection against multiple callback invocation on error path
Merge pull request #189 from dnf/master

Added protection against multiple callback invocation on error path