fix TypeError: build_location() takes exactly 1 argument (0 given)

Signed-off-by: Gowrishankar Rajaiyan <gsr@redhat.com>