Add $read_manifest param to allow method to be re-used in the future
Remove ! (not) from $read_manifest condition
Use getAssetsPathInfo() method in generateTag()