/usr/lib/kdumpst/kdump-mkinitcpio-hook.sh is run by the kernel hook when using mkinitcpio and a new kernel is installed. If MOUNT_FOLDER does not exist it will fail with the following error message: ==> ERROR: Invalid option -g -- '<MOUNT_FOLDER>/<IMG_FILE>' must be writable