Custom Actions

When adding Ribbon Custom Action to Site Assets library using Visual Studio, the list template 851 is selected incorrectly, it simply does not exist. The list template for Site Assets is 101 and to add custom action to it we need to use List Instance.