CustomCommand: error on custom command being added to non-existent target
Merge topic 'missing-target-error' into next

648cc28 CustomCommand: error on custom command being added to non-existent target