Bench switch-to-master : Branch Master does not Exist in Upstream for ERPNext

Hello everyone! I installed ERPNext on a clean ubuntu 16.04 LTS. I used Easy Install and installed develop. When I tried switching to Master, only frappe was switched and got the message :

Branch Master does not Exist in Upstream for ERPNext .

Any thoughts?

Tried uninstalling erpnext app from development site and install again using this command:

bench get-app erpnext https://github.com/frappe/erpnext --branch master

Check your branch name from the apps/erpnext directory using “git branch”, maybe the branch name is “develop”

Thanks for your response @Pawan . It is now working after the reinstall with the command above.