commands: Avoid shadowing variable

Fixes builds, and avoids doing bad things.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>