Creates dist record with the correct branch name