Only return empty builds hash when there are no ids present.