Fix composer autload dumping for commands

Similar to #6595 
New line before closing brace plz.