Fixed spawning logic of new empty file in case of the "project-ring.closePreviousProjectBuffers" configuration option