Minor fixes for fork_app command

* Adds missing newlines
* Improves error outputs

Fixes #1428.