tweaking publish target type location logic
Reverting previous commit theme work that made install break