Commands: Only use ambient context on same project

Fixes #990

Manually verified.
OK. So long as GetProject doesn't fail - sounds good. :shipit: