Remove .git from post action URL.