Fixed framework creation when no previous version exists