Don't check lines beginning with '#', since they could contain a path with the unexpected word in them.