buildmaster: search for a taskname only on first line