Fixed bug with global command path resolution