Fix Redirect Loop when there is no index.md

Fix Redirect Loop when there is no index.md

#122 Fixed :)