Improve logging

Minor change that adds more information why and which
repository is illegal state for prefix file update