Ensure Assets reverse router doesn't fail when no application

Fixes #3115