avdmanager hangs on "Loading local repository..." Linux
It happened because since version (6200805) Command Line Tools should be placed inside cmdline-tools directory. It should be created manually in ANDROID_HOME. 

Please see this answer With the mentioned configuration everything works fine.