Added handling in gitlog for missing import logs

Fixes a template error that occurs when viewing a course's detailed
git import log. The problem happens for courses imported using methods
other than the `git_add_course` command.
Merge pull request #5423 from mitocw/bdero/fix-gitlog-focused-error

Added handling in gitlog template for missing import logs