Maybe pipe the output into a Python script to get the extension path to make sure this is fully automated in the future. Not sure why they have to make such a mess :)