Ensure the @ and # can be used when writing the initial comment of a PR
Reduce the code duplication by ensuring that we always have two objects passed onto the .done() function and then by adjusting the behavior of the method based on these two objects (if they are defined or not).
Fixes https://pagure.io/pagure/issue/1364
So this PR does two things:
.done()function and then by adjusting the behavior of the method based on these two objects (if they are defined or not).