github.rb: Use shift to pull latest state.

This allows me to assign state to the actual state if there are any
elements available or simply set it to the string 'none'.

If the string is 'none', I'll simply warn the user that continuous
integration hasn't been set up.