Ensure the examined repository HEAD isn't detached
Teach GitFlowVersion to detect GitHub pull requests in TeamCity context
Ensure a pull request is always created from the develop branch
Minor optimization