Fixed a bug that does not allow to run deploy with option seed

Hello 
I found a bug not allowing to run deploy with option "seed". 
I found the problem and corrected it.
I also discovered that the default option is "seed" was null, while in the tests it is set to false by default. Because of this behavior in the tests and run was different. This problem is also fixed.