lfs: handle paths that don't end with '/' when inferring the blob store
While here, I also checked the lfs.url config directly instead of testing the
scheme, as requested by Yuya.
#require docutils gettext $ $TESTDIR/check-gendoc ru checking for parse errors