Allows to specify the extension directory separately when creating a new extension