also clean up on installation errors

This resolves #68.
Putting this `;` at the next line and aligned to the opening `$this` is a common practice in Symfony code for fluent interfaces.