fix the issue where addons were being installed into the main client directory