deleting of failed builds fixed

Bug 1057415 - deleting a failed build also deleted rpms of successful build in the backend if filenames of src.rpm pkgs were same for both builds