utils: remove extra test of finished spawn

into get(string*, sting*) function, a test was performed on the spawn which
lead to the the fact that last log was not taken into account.