Bugfix: rename failed when there were no snapshots