Extract last_known_revision logic to Deployment class
Merge pull request #100 from dblandin/fix-rubocop-errors

Extract last_known_revision logic to Deployment class
use the right attr /cc @dblandin