Add possibility to use Amazon s3 with assets:install command. Avoid is_dir test when using s3:// protocol.