LPS-26665 (master - 6.2.x) User Group Site Pages: VirtualLayout.injectVi...

...rtualGroupURL is called, even when the layout is of type URL

Proposed 6.2.x (master) fix for this issue - see https://github.com/liferay/liferay-portal/pull/318 for the corresponding 6.1.x branch pull request.