Lower-ify url before checking against prefix with startswith()