Throw exception if HOME or APPDATA is not available to create the composer home dir