docs: fix memory leak of appsink example in manual

https://bugzilla.gnome.org/show_bug.cgi?id=721076
scripts: create-uninstalled-setup: re-use existing master branch if it exists

When creating separate checkout for non-master branches.