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

They are added to seen. This is simply reading in the locks file to decide if it should use `deps` from `rebar.config` or just `locks`.