9e136e532d4e ("config: Remove dynamic configuration variant") removed the posibility to add pre and post hooks. Remove the remaining bits from libcmds. Signed-off-by: Daniel Wagner <daniel.wagner@siemens.com>