Fix bug where project would always be initialised after a clone

Minor formatting fixes