[feature-add-bootstrap-template] Fixes bug when passing dir path to the exists method of the Filesystem