minor fix,if path does not include :
Merge pull request #271 from shavac/master

minor fix,if path does not include ':', beego will crash of "index out of range"