LPS-46579 Apply the same logic as in FileEntrySMDH
LPS-46579 return in FileEntrySMDH as well when the repository got imported