update dir page
update dir page

when visit a invalid repo dir page, error msg will show.
but then visit a valid repo, error msg still there and no dir page show.

miurahr/seahub,miurahr/seahub,miurahr/seahub,miurahr/seahub