Issue #3167036 by gapple, anu.a_zyxware, thalles, larowlan: Empty *.libraries.yml file can cause fatal error (cherry picked from commit 863b2b35)