Avoid navigation of empty URLs