Make sure we never have commands run more than once

Previously could happen if the package checker was adding commands to be
executed while also deleting commands.
Merge remote-tracking branch 'upstream/master'
Make sure all commands are deleted!
Merge pull request #19 from ShadowDog007/master

Make sure we never have commands run more than once