Fixes for profiles breaking templates and installing of non-default deps

Right, they are. This is to make sure if you run `tar` in the `prod` or some other profile it still makes sure your dependencies are installed. If it is run under `default` then the 2 `{compile, default}` will merge into 1 as `providers` does a unique topsort.