Fixed #3839 - error while creating resources with --csv