Make compatible with the new command registry

This PR is compatible with versions of Atom without the command registry as well, so its specs will keep passing on the current released version. Once we release the command registry, we can come back and remove support for the old paths.