(refs #53)Fix path extraction for branch which contains '/'.
Adjust whitespaces.