Fixing condition and path to Gemfile.lock in save artifacts process