added a control to avoid to add assets declararation to a deployed page, when the App-Block is not used in the page itself [ci skip]