Commit not in the correct directory