shortens ldrg namespace based on the app's URI