Problem: Can't get the command that was used to start Vim. Solution: Add v:progpath. (Viktor Kojouharov)