fixed broken gitlab version determination during backup

王权利请求将github/fork/amacarthur/rake-fix合并到master

Created by: amacarthur

If the backup directory is not sub the gitlab install directory, then the git rev-parse call will fail.

合并请求报告