Error don’t have a product spec for: ‘cm_dogo’ when building Cyanogen Mod 12.1 for Sony Xperia ZR

Building cyanogen 12.1 for Sony Xperia ZR throws the following error (in red) when you do:
$ breakfast dogo <enter>

** Don't have a product spec for: 'cm_dogo'
** Do you have the right repo manifest?

This error can be overcome by:
$ cd ~/android/system/.repo/manifests <enter>
$ cp default.xml default.backup <enter>
$ leafpad default.xml <enter>

Look for all entries that have the word ‘generic’ in them and delete those lines.

Save the file and then try to use the breakfast command again by:
$ cd ~/android/system <enter>
$ breakfast dogo <enter>

When successful, continue to follow the commands at
http://wiki.cyanogenmod.org/w/Build_for_dogo