remove undocumented getStepByBuild

It was originally documented as getStepByNumber, but anyway its functionality is more naturally handled in getStep.