libpsibuild: plugins to directories converter moved out of plugins fetch function