Autogen: Fix a bug in setting the UIC source group

If the relative path to a UI file was empty then the source group for the corresponding autogen header file would not apply because of a double slash in the path.
37 jobs for !5978 with autouic-source-group-fixes in 87 minutes and 4 seconds (queued for 2 seconds)
merge request