Properly set the base dir when committing
Otherwise KUrl() was used and the files wouldn't open initially.