fix a bug caused by "extends <asset_spec>"
Merge pull request #86 from Pylons/fix.extend-asset-spec

fix a bug caused by "extends <asset_spec>"