else:
                     print("Initializing new git repository %s" % name)
                     os.system("git init --bare --shared")
+                    if os.path.isfile("{}/description".format(repopath)):
+                        os.remove("{}/description".format(repopath))
+
                 del os.environ['GIT_DIR']
 
             # Check for publishing options here
                     cf = open("%s/config" % repopath, "w")
                     repoconf.write(cf)
                     cf.close()
+            else:
+                # If repo should not be exposed on the web, remove the description file. We use this
+                # as a trigger of whether to show it...
+                if os.path.isfile("{}/description".format(repopath)):
+                    os.remove("{}/description".format(repopath))
 
             anonfile = "%s/git-daemon-export-ok" % repopath
             if anon: