core: Don't try to store metadata if already saved
When storing an item, don't try to call store_metadata() if there are no keys left to write. This fixes warnings in grilo-test-ui when trying to create a new bookmark as all the possible metadata we'd add will already be handled. https://bugzilla.gnome.org/show_bug.cgi?id=673912
parent
117eed6d