Merge pull request #10 from Haraguroicha/master

fix compatibility with old version of GitLab CI which doesn't support timeout parameter and trim commands' CR and LF characters
Merge pull request #11 from Haraguroicha/master

Prevent and fix 2 Exceptions