config_commands_command: make alloc failure check more permanent
config_commands_command: make alloc failure check more permanent

policy is accessed again later

Found through static analysis

ascent12/sway,1ace/sway,SirCmpwn/sway,1ace/sway,ascent12/sway,taiyu-len/sway,taiyu-len/sway,ascent12/sway,1ace/sway,taiyu-len/sway