The Default deployer after() expects a string or closure so passing task instances won't work. We should check for that and wrap it in a closuer and pass it on in that case.