msc: set commands variable when it's needed

On "All user commands", when you see a command created by another
user, commands variable is not set.

You can have some display troubles such as:
 * tracebacks
 * group's machines not displayed
 * anything else ?

This commit fixes it