- fixes permalink handling when that's the case - prevents deep linking loops between nightly and the main app