Fixed an issue that buildAliases() failed when running 'muffin install' for the first time.