fix: skip nil actions when rebuilding the action map
A config that fails to decode can leave nil entries in the action list,
which made -syntaxcheck panic instead of reporting the decode failure.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>