Issue 1218 with unit test

Correction of #1218: Now the bootstrap file has environement variables even when the file is set as argument