This condition should be a unusual, but it's possible if users are installing kdumpst right after a kernel upgrade, without rebooting for example. To achieve this, just check if the modules dir exists. Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>