Fix dependencies check in rails updater.