Fix to make sure "-l" parameter is processed correctly
removes potential newline character from git diff --name-status command