With that, the action was performed twice in row: seems like the button is triggering the submit form https://github.com/Katello/katello/blob/master/engines/bastion/app/assets/bastion/systems/content/views/system-packages.html#L4

I discovered that thanks to the fact, that when running the task, it locks the system on other package operations, so the second time ti just fails.