Revert "remove the check for requirement of libyaml-devel when running reporsitories installation on centos"

This reverts commit 00f5cb52c801112224628f5ce33c9f8f43058c04.
add requirements step before_update and move the centos repositories initialization to it
reworked checking if extra repositories are needed on centos-likes
move up the requirements_centos_before_update just after functions it calls