prevent infinite build status check loop

schedule a new build status check only if there was a platform with a 'pending' status.
Merge pull request #19 from epeleg/master

prevent infinite build status check loop