It seems that using make allmodconfig
made configuration with the following variables turned on:
CONFIG_CMDLINE_BOOL CONFIG_CMDLINE_OVERRIDE
Which caused the kernel to override the command line parameter given in grub configuration with an empty command line, resulting a failure in the init script.