[Bugfix] Fix bug in view publisher

Fix bug in view publisher where it didn't publish to the correct directory (should be `app/views/packages/{vendor}/{package}/` not `app/views/{vendor}/{package}/`)

This is against 4.1 as it's a bugfix and 4.1 is the earliest supported base, but should be able to be imported to master with cherry-pick or a merge.