Change code if there isn't a lockfile in locked_gem method and locked_bundler_version method