Remove unnecessary portal directory.