LPS-45736 Use proper groupId for looking up the imported file entry

reviewed by @danielkocsis