Script to work in any kind of Debug configuration

If configuration's name was in another shape than "Debug" this script always failed to append branch. Updated the script to match the configuration with contains method, meaning branch will be appended even if configuration is called: "AppStore.Debug" or "AppStore-Debug".