Check if Dataset.by_name returns None and only check for update permissions if dataset was not created
Merge pull request #735 from openspending/727-data-loading-problem

Data loading API permission and dataset management