LPS-37777

Hey Julio,

this is a small fix for DL to not count the portlet file repo entries (and other non-default DL repository entries) like the exported lar, etc... when do the exporting, staging process. Before the rewrite we used to have these queries to get the exported elements:

<pre>
List folders = FolderUtil.findByRepositoryId(portletDataContext.getScopeGroupId());

List fileEntries = FileEntryUtil.findByR_F(
     portletDataContext.getScopeGroupId(), LFolderConstants.DEFAULT_PARENT_FOLDER_ID);
</pre>

Which means to use the scope group Id as repository Id in the queries, so I followed this way and added the same restrictions to the dynamic query we generate.

thanks,
Daniel