Remove unneeded path from commit