Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`
The user can create a new directory on a different branch than the source branch when the branch already exists.