Check requirements correctly

Requirements check job doesn't correctly work on stable branches
of openstack projects

Closes-Bug: #1391905

Change-Id: Id470777bbc01dae4ceab713c243e691004afe74f
Merge "Check requirements correctly"