Ensure that we extract only the SHA, and not any whitespace
Strip all trailing whitespace, for consistency