changeMetadata failing if element didn't already exist

git-svn-id: http://fritzing.googlecode.com/svn/trunk@6865 85f94c43-f63a-0410-9d22-21439860c375