Support the case when ext matches nothing
Support the case when ext matches nothing

I renamed the parameter name from `ext` to `ext` because `ext` is used
in various scopes in extensionSplit function.

pluma/bower-files,ksmithut/bower-files