Added additional checks for git-daemon and cleaned up other methods for readability.
Merge pull request #14 from rbeesley/bugfix-12

Added additional checks for git-daemon ...