LPS-39588 Fixing isStagedPortlet method and removing unnecessary check in LayoutExporter. It was used for a wrong purpose there.