Don't strip projects from newly created tasks

Only add the security project, where applicable, without stripping
other specified projects. Fixes T716

Change-Id: I09268afead8e6957c6d418763577a23950bda7e6